package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 金币兑换钻石记录表
 */
@Data
@TableName("exchange_gold_diamonds_log")
public class ExchangeGoldDiamondsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String image;
    private BigDecimal goldCoin;
    private BigDecimal diamonds;
    private Date createTime;

    @TableField(exist = false)
    private String loginname;
    @TableField(exist = false)
    private String nick;
    @TableField(exist = false)
    private String pic;
}
